home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmCreatePromptDialog.z
/
XmCreatePromptDialog
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg - The SelectionBox PromptDialog
convenience creation function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/SelectioB.h>
WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg(
WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt,
CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg is a convenience creation function that
creates a DialogShell and an unmanaged SelectionBox child of
the DialogShell. A PromptDialog prompts the user for text
input. It includes a message, a text input region, and
three managed buttons. The default button labels are _O_K,
CCCCaaaannnncccceeeellll, and HHHHeeeellllpppp. An additional button, with AAAAppppppppllllyyyy as the
default label, is created unmanaged; it may be explicitly
managed if needed. One additional WWWWoooorrrrkkkkAAAArrrreeeeaaaa child may be
added to the SelectionBox after creation.
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg forces the value of the SelectionBox
resource XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTyyyyppppeeee to XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____PPPPRRRROOOOMMMMPPPPTTTT.
Use XXXXttttMMMMaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd to pop up the PromptDialog (passing the
SelectionBox as the widget parameter); use XXXXttttUUUUnnnnmmmmaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd
to pop it down.
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg forces the value of the Shell resource
XXXXmmmmNNNNaaaalllllllloooowwwwSSSShhhheeeellllllllRRRReeeessssiiiizzzzeeee to True.
_p_a_r_e_n_t Specifies the parent widget ID
_n_a_m_e Specifies the name of the created widget
_a_r_g_l_i_s_t Specifies the argument list
_a_r_g_c_o_u_n_t Specifies the number of attribute/value pairs in
the argument list (_a_r_g_l_i_s_t)
For a complete definition of SelectionBox and its associated
resources, see XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx(3).
RRRREEEETTTTUUUURRRRNNNN
Returns the SelectionBox widget ID.
RRRREEEELLLLAAAATTTTEEEEDDDD
PPPPaaaaggggeeee 1111 ((((pppprrrriiiinnnntttteeeedddd 11110000////22224444////99998888))))
XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCrrrreeeeaaaatttteeeePPPPrrrroooommmmppppttttDDDDiiiiaaaalllloooogggg((((3333XXXX))))
XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx(3).
Page 2 (printed 10/24/98)